home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1191 / 1191.xpi / chrome / reminderfox.jar / content / reminderfox / addreminder-dialog.xul < prev    next >
Extensible Markup Language  |  2009-12-04  |  24KB  |  342 lines

  1. <?xml version="1.0"?>
  2. <!-- DTD Files -->
  3. <!DOCTYPE window 
  4. [
  5.     <!ENTITY % dtd1 SYSTEM "chrome://reminderfox/locale/reminderfox.dtd" > %dtd1;
  6. ]>
  7.  
  8. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  9. <?xml-stylesheet href="chrome://reminderfox/skin/datepicker/datepicker.css"  type="text/css" ?>
  10. <?xml-stylesheet href="chrome://reminderfox/skin/reminder.css"  type="text/css"?>
  11.  
  12. <?xml-stylesheet href="chrome://reminderfox/skin/rmSearchBox.css"  type="text/css"?>
  13.  
  14. <?xul-overlay href="chrome://reminderfox/content/datepicker/datepicker-overlay.xul"?>
  15. <?xul-overlay href="chrome://reminderfox/content/searchbar/search-overlay.xul"?>
  16. <?xul-overlay href="chrome://reminderfox/content/searchbar/filter-overlay.xul"?>
  17.  
  18. <?xul-overlay href="chrome://reminderfox/content/categories/rmFxViews-overlay.xul"?>
  19. <?xml-stylesheet href="chrome://reminderfox/skin/views.css"  type="text/css"?>
  20.  
  21. <window xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="&rf.name;"
  22.     id="editRemindersWindow" onload="loadReminders();" onkeypress="" onpopupshowing="rmFx_checkLoaded()" commentx="" onclick="" onblur="" width="800px" height="400px"
  23.     persist="screenX screenY width height persist-list-selectedIndex"
  24.     windowtype="window:reminderFoxEdit"
  25.     onunload="saveSettings(true);">
  26.  
  27.     <stringbundleset id="stringbundleset">
  28.         <stringbundle id="reminderFox-bundle" src="chrome://reminderfox/locale/reminderfox.properties"/>
  29.     </stringbundleset>
  30.     <script type="application/x-javascript"  src="chrome://reminderfox/content/network/download.js" />
  31.     <script type="application/x-javascript"  src="chrome://reminderfox/content/network/upload.js" />
  32.     <script type="application/x-javascript"  src="chrome://reminderfox/content/network/networkService.js" />
  33.     <script type="application/x-javascript"  src="chrome://reminderfox/content/network/passwordManagerUtils.js" />
  34.     <script type="application/x-javascript"  src="chrome://reminderfox/content/mail/mail.js" />
  35.     <script type="application/x-javascript" src="chrome://reminderfox/content/datepicker/datepicker.js"/>
  36.     <script type="application/x-javascript" src="chrome://reminderfox/content/reminderFoxCore.js" />
  37.     <script type="application/x-javascript" src="chrome://reminderfox/content/reminderFox.js" />
  38.     <script type="application/x-javascript" src="chrome://reminderfox/content/addReminderDialog.js" />
  39.  
  40.     <script type="application/x-javascript" src="chrome://reminderfox/content/utils/rmFxUtils.js" />
  41.     
  42.     <script type="application/x-javascript" src="chrome://reminderfox/content/mail/rmFxIcalMail.js" />
  43.     <script type="application/x-javascript" src="chrome://reminderfox/content/mail/rmFxMsgTagging.js" />
  44.     <script type="application/x-javascript" src="chrome://reminderfox/content/categories/rmFxViews.js" />
  45.  
  46.     <script type="application/x-javascript" src="chrome://reminderfox/content/mail/addContact2Reminder.js" />
  47.     <script type="application/x-javascript" src="chrome://reminderfox/content/mail/rmFxPopupControl.js" />
  48.  
  49.     <!-- //gW scripts for PB and TB3/SM2 -->
  50.     <script type="application/x-javascript"  src="chrome://messenger/content/mailWindowOverlay.js"/>
  51.  
  52.     <keyset id="reminderFoxKeys">
  53.         <key keycode="VK_ESCAPE" oncommand="window.close();"/>
  54.     </keyset>
  55.     
  56.     <tabbox id="tabbox" flex="1">
  57.         <arrowscrollbox orient="horizontal" >
  58.             <tabs id="tabList" onselect="selectTab()">
  59.                 <tab id="remindersTab" label="&rf.add.tab.reminders.label;" selected="true" />
  60.                 <tab id="todosTab" label="&rf.add.tab.todos.label;" />
  61.             </tabs>
  62.     </arrowscrollbox>   
  63.     <!--
  64.       <hbox collapsed="true" class="tabs-closebutton-box" align="center" pack="end" anonid="tabstrip-closebutton">
  65.         <toolbarbutton class="close-button tabs-closebutton"/>
  66.       </hbox>
  67.       
  68.           <hbox style="position: relative;">
  69.               <toolbarbutton class="tabs-alltabs-button" type="menu"
  70.                              anonid="alltabs-button" tooltipstring="List all tabs">
  71.                 <menupopup class="tabs-alltabs-popup" anonid="alltabs-popup" position="after_end"/>
  72.               </toolbarbutton>
  73.         </hbox>
  74.       
  75.     -->
  76.     <!--
  77.     <spacer flex="1"/>
  78.                 <tab id="managetabs" image="chrome://reminderfox/skin/images/ribbon-red-small.png"/>
  79.             -->
  80.         <tabpanels id="tabPanelID" flex="1">
  81.  
  82.             <!--  Reminders -->
  83.             <tabpanel flex="1" id="reminderPanel" orient="vertical">
  84.  
  85.                 <!-- keyboard shortcuts for find -->
  86.                 <keyset>
  87.                     <key id="key_find" key="&rf.add.find.accesskey;" oncommand="doFind();" modifiers="accel" />
  88.                     <key id="key_find_next" key="&rf.add.findagain.accesskey;" oncommand="doFindNext();" modifiers="accel"/>
  89.                     <key id="key_hide" key="&rf.add.hideAll.accesskey;" oncommand="doHideAll();" modifiers="accel"/>
  90.                     <key id="key_show" key="&rf.add.showAll.accesskey;" oncommand="doShowAll();" modifiers="accel"/>
  91.                     <key id="key_hideCompletedItems" key="&rf.add.hideCompletedItems.accesskey;" oncommand="toggleHideCompletedItems();" modifiers="accel"/>
  92.                     <key id="key_viewAsHtml" key="&rf.add.viewAsHtml.accesskey;" oncommand="doShowHTML();" modifiers="accel"/>
  93.                     <key id="key_viewMail" key="&rf.add.viewMail.accesskey;" oncommand="reminderFox_doShowMailShortcut();" />
  94.                     <key id="key_add" key="a" oncommand="addReminderOrTodo()" modifiers="accel" />
  95.                     <key id="key_advanceTab" key="t" oncommand="advanceTab();" modifiers="accel" />
  96.                     <key id="key_quickSearchFocus" key="&rf.add.quicksearch.accesskey;" modifiers="accel" oncommand="reminderFox_doFocusQuickSearch();" />
  97.                 </keyset>
  98.  
  99.                 <hbox id="treeparent" flex="1" hidden="false">
  100.                     <tree id="reminderTree" flex="1" enableColumnDrag="true" onkeypress="processKeyPressedOnReminderTree(event);" oncontextmenu="activateContext(event);" context="treechildren-contextmenu"  onselect="reminderSelected(event);" >
  101.                         <popupset>
  102.                             <tooltip id="reminderTree-tooltip" orient="vertical" style="background-color: #33DD00;" onpopupshowing="return reminderTreeTooltip(event);">
  103.                                 <vbox id="reminderTree-tooltip-box">                    
  104.                                 </vbox>
  105.                             </tooltip>
  106.                         </popupset>
  107.  
  108.                         <treecols>
  109.                             <treecol id="dateColLabel" label="&rf.add.reminders.column.date.label;" flex="8" ignoreincolumnpicker="true" persist="width ordinal" onclick="sortcolumn(this);" class="sortDirectionIndicator"  sortDirection="natural" />
  110.                             <splitter class="tree-splitter" />
  111.                             <treecol id="descColLabel" label="&rf.add.reminders.column.description.label;" flex="30" ignoreincolumnpicker="true" persist="width ordinal"   onclick="sortcolumn(this);" class="sortDirectionIndicator"  sortDirection="natural" />
  112.                             <splitter class="tree-splitter" />
  113.                             <treecol id="timeColLabel" hidden="true" label="&rf.add.reminders.column.time.label;" flex="0" persist="hidden width ordinal" onclick="sortcolumn(this);" class="sortDirectionIndicator"  sortDirection="natural"/>
  114.                             <splitter class="tree-splitter" />
  115.                             <treecol id="dateCompleted" hidden="true" label="&rf.add.reminders.column.datecompleted.label;" flex="0" persist="hidden width ordinal" onclick="sortcolumn(this);" class="sortDirectionIndicator"  sortDirection="natural" />
  116.                             <splitter class="tree-splitter" />
  117.                             <treecol id="repeatColLabel" hidden="true" label="&rf.add.reminders.column.repeat.label;" flex="0" persist="hidden width ordinal" onclick="sortcolumn(this);" class="sortDirectionIndicator"  sortDirection="natural" />
  118.                             <splitter class="tree-splitter" />
  119.                             <treecol id="CompleteColLabel" hidden="true" label="&rf.add.reminders.column.complete.label;" tooltiptext="&rf.add.reminders.column.complete.label;" src="chrome://global/skin/checkbox/cbox-check.gif" class="treecol-image" flex="0" persist="hidden width ordinal" cycler="true" align="center"  onclick="sortcolumn(this);"   sortDirection="natural" />
  120.                             <splitter class="tree-splitter" />
  121.                             <treecol id="remindUntilCompletedColLabel" hidden="true" label="&rf.add.reminders.column.remindUntilCompleted.label;" tooltiptext="&rf.add.reminders.column.remindUntilCompleted.label;" src="chrome://reminderfox/skin/images/ribbon-red-small.png" class="treecol-image" flex="0" persist="hidden width ordinal" cycler="true" align="center" onclick="sortcolumn(this);" sortDirection="natural"  />
  122.                             <splitter class="tree-splitter" />
  123.                             <treecol  id="notesColLabel" hidden="true" label="&rf.add.reminders.column.notes.label;" tooltiptext="&rf.add.reminders.column.notes.label;" flex="0" src="chrome://reminderfox/skin/images/notes.png" class="treecol-image" persist="hidden width ordinal" cycler="true" align="center" onclick="sortcolumn(this);" sortDirection="natural"  />
  124.                             <splitter class="tree-splitter" />
  125.                             <treecol id="alarmColLabel" hidden="true" label="&rf.add.reminders.column.alarm.label;"  tooltiptext="&rf.add.reminders.column.alarm.label;" src="chrome://reminderfox/skin/images/alarmbell.png" class="treecol-image"  flex="0" persist="hidden width ordinal"  cycler="true" align="center" onclick="sortcolumn(this);" sortDirection="natural" />
  126.                             <splitter class="tree-splitter" />
  127.                             <treecol id="catColLabel" hidden="true" label="&rf.options.categories.label;"  tooltiptext="&rf.options.categories.label;"   flex="0" persist="hidden width ordinal"   onclick="sortcolumn(this);" sortDirection="natural"  />
  128.                             <splitter class="tree-splitter" />
  129.                             <treecol id="endDateColLabel" hidden="true" label="&rf.moreoptions.list.reminder.more.endDate.label;"  tooltiptext="&rf.moreoptions.list.reminder.more.endDate.label;"   flex="0" persist="hidden width ordinal"   onclick="sortcolumn(this);" class="sortDirectionIndicator"  sortDirection="natural"  />
  130.                             <splitter class="tree-splitter" />
  131.                             <treecol id="mailColLabel" hidden="true" label="&rf.add.reminders.column.mail.label;"  tooltiptext="&rf.add.reminders.column.mail.label;" src="chrome://reminderfox/skin/images/mail.png" class="treecol-image"  flex="0" persist="hidden width ordinal"  cycler="true" align="center" onclick="sortcolumn(this);" sortDirection="natural"  />
  132.                         </treecols>
  133.                         <treechildren id="treechildren" onclick="reminderFox_toggleReminderColumns(event);"  ondblclick="if (event.button == 0) editReminder()" tooltip="reminderTree-tooltip">
  134.                         </treechildren>
  135.                     </tree>
  136.  
  137.                     <popup id="treechildren-contextmenu" >
  138.                         <menuitem id="treechildren-contextmenu-edit" label="&rf.add.reminders.context.edit.label;" oncommand="editReminder()" />
  139.                         <menuitem id="treechildren-contextmenu-copyReminder" label="&rf.add.reminders.context.copy.label;" oncommand="copyReminder()"/>  
  140.                         <menuitem id="treechildren-contextmenu-delete" label="&rf.add.reminders.context.delete.label;" oncommand="userDeleteReminder()" />
  141.                         <menu id="treechildren-contextmenu-moveReminderToList" label="&rf.add.reminders.context.moveToList.label;">
  142.                             <menupopup id="treechildren-contextmenu-moveReminderToList-popup">
  143.                             </menupopup>
  144.                         </menu>
  145.                         <menuseparator/>
  146.                         <menuitem id="treechildren-contextmenu-important" label="&rf.add.reminders.context.important.label;" type="checkbox" autocheck="false" oncommand="toggleImportantFlag()" />
  147.                         <menuitem id="treechildren-contextmenu-markAsComplete" label="&rf.add.reminders.context.complete.label;" type="checkbox" autocheck="false"
  148.                             oncommand="toggleMarkAsComplete()" />
  149.                         <menuitem id="treechildren-contextmenu-remindUntilComplete" label="&rf.add.reminders.context.remindUntilCompleted.label;" type="checkbox" autocheck="false"
  150.                             oncommand="toggleRemindUntilCompleted()" />
  151.                         <menuseparator/>
  152.                         <menuitem id="treechildren-contextmenu-find" label="&rf.add.reminders.context.find.label;"     oncommand="doFind()" key="key_find"/>
  153.                         <menuitem id="treechildren-contextmenu-find" label="&rf.add.reminders.context.hideRepeatingReminders.label;" oncommand="doHideAll()" key="key_hide"/>
  154.                         <menuitem id="treechildren-contextmenu-find" label="&rf.add.reminders.context.showAllReminders.label;"      oncommand="doShowAll()" key="key_show"/>
  155.                         <menuitem id="treechildren-contextmenu-hideCompleted" label="&rf.add.reminders.context.hidecompleteditems.label;"     key="key_hideCompletedItems" type="checkbox"  autocheck="false" oncommand="toggleHideCompletedItems()" />
  156.                         <menuitem id="treechildren-contextmenu-showHTML" label="&rf.add.reminders.context.viewHTML.label;"     oncommand="doShowHTML()" key="key_viewAsHtml" />
  157.                         <menuitem id="treechildren-contextmenu-showMail" label="&rf.add.reminders.context.viewMail.label;"     oncommand="reminderFox_doShowMail();" key="key_viewMail" />
  158.  
  159.                         <!-- gW mail Reminders -->
  160.                         <menuseparator/>
  161.                         <menuitem id="treechildren-contextmenu-sendReminder" 
  162.                                 label="&rf.add.reminders.context.exportSendReminders.label;"     
  163.                                 oncommand="rmFx_ExportOrSend(event)" />
  164.  
  165.                         <menuitem id="treechildren-contextmenu-reminder-openABcard" 
  166.                                 label="&rf.main.contextmenu.openAB;"     
  167.                                 oncommand="rmFxOpenABcard(event)" hidden="true"/>
  168.  
  169.                         <!-- //gW_ALARM  TEST  ....  SendAlarm see  "mail.js"  ....  TEST  TEST 
  170.                          <menuitem id="testSendAlarm" label="testSendAlarm"     oncommand="rmFx_sendAlarmMail()" /> 
  171.                         -->
  172.                     </popup>
  173.                     
  174.                     <!-- datepicker - brought in from overlay -->
  175.                     <vbox id="oe-date-picker-overlay-box"/>
  176.  
  177.                 </hbox>
  178.                 <hbox align="center" >
  179.                     <label id="reminderFox-network-status" align="center"  class="small-margin" value="" crop="end"/>
  180.                 </hbox>
  181.             
  182.                 <hbox id="rmButtonBox">                <!-- add 'id' for Quick-Search -->
  183.                     <!--  reminder buttons  -->
  184.                     <button id="addReminderButton" label="&rf.add.addReminder.addbutton.label;" oncommand="addReminder(true)" />
  185.                     
  186.                     <!--  2008-09-28   add 'View' - brought in from overlay -->
  187.                     <hbox id="rmView_Box">
  188.                         <hbox id="rmViewHbox"/>
  189.                     </hbox>                    
  190.  
  191.                     <!-- Quick-Search - brought in from overlay -->
  192.                     <hbox id="rmSearchTextBox"  class="rmQSearchBox">
  193.                         <hbox id="rmSearchText"/>
  194.                     </hbox>                    
  195.  
  196.                     <hbox id="rmFilterHbox"  class="rmQSearchBox">
  197.                         <hbox id="rmFilterText"/>
  198.                     </hbox>    
  199.                                                             
  200.                     <spring label="buttonspring.ii" flex="1" />
  201.                     <toolbarbutton id="calendarToggle" class="calendarbutton" type="checkbox"  
  202.                             oncommand="toggleCalendar();" 
  203.                             persist="checked"  checked="true" autoCheck="false" />
  204.                     <spacer width="20px"/>
  205.                     <!--
  206.                     <toolbarbutton id="revertbutton" class ="revertbutton" type="checkbox"  tooltiptext="&rf.add.addReminder.revertbutton.label;" 
  207.                             oncommand="revert();" disabled="true"
  208.                             persist="checked"  checked="true" autoCheck="false" />
  209.                     <spacer width="20px"/>
  210.                     
  211.                     <toolbarbutton id="refreshbutton" class="refreshbutton" type="checkbox"  tooltiptext="Refresh" 
  212.                             oncommand="refillLists();" 
  213.                             persist="checked"  checked="true" autoCheck="false" />
  214.                     <spacer width="20px"/>
  215.                     
  216.                     <toolbarbutton id="donebutton"  class="donebutton" type="checkbox"  tooltiptext="&rf.add.addReminder.donebutton.label;" 
  217.                             oncommand="close();" 
  218.                             persist="checked"  checked="true" autoCheck="false" />
  219.                     <spacer width="20px"/>
  220.                     -->
  221.                     <button id="revertbutton" label="&rf.add.addReminder.revertbutton.label;" oncommand="revert();" disabled="true"/>
  222.                     <!-- refresh should be APPLY button; also need to add to ToDos -->
  223.                     <!--
  224.                     <button id="refreshbutton" label="Refresh"  oncommand="refillLists();"  />
  225.                     -->
  226.                     <button id="donebutton"  label="&rf.add.addReminder.donebutton.label;" oncommand="close();" />
  227.                 </hbox>
  228.             </tabpanel>
  229.  
  230.  
  231.             <!--  TODOs -->
  232.             <tabpanel flex="1" id="todosPanel" orient="vertical">
  233.                 <hbox id="todoTreeparent" flex="1" hidden="false">
  234.                     <!-- keyboard shortcuts for moving todo's up/down -->
  235.                     <keyset>
  236.                         <key id="key_moveTodoUp" keycode="VK_UP"  oncommand="moveTodoUp();" modifiers="alt"/>
  237.                         <key id="key_moveTodoDown" keycode="VK_DOWN" oncommand="moveTodoDown();" modifiers="alt"/>
  238.                     </keyset>
  239.  
  240.                     <popupset>
  241.                         <tooltip id="todoTree-tooltip" orient="vertical" style="background-color: #33DD00;" onpopupshowing="return todoTreeTooltip(event);">
  242.                                 <vbox id="todoTree-tooltip-box">                    
  243.                                 </vbox>
  244.                         </tooltip>
  245.                     </popupset>
  246.  
  247.                     <tree id="todoTree" flex="1" enableColumnDrag="true" onkeypress="processKeyPressedOnTodoTree(event);" 
  248.                         context="todo-treechildren-contextmenu" oncontextmenu="activateTodoContext(event);" onselect="todoSelected(event)">
  249.                         <treecols>
  250.                             <treecol id="todoDateColLabel" label="&rf.add.reminders.column.date.label;" flex="3" hidden="true"  persist="hidden width ordinal" onclick="sortcolumn(this);" class="sortDirectionIndicator"  sortDirection="natural" />
  251.                             <splitter class="tree-splitter" />
  252.                             <treecol id="todoDescColLabel" label="&rf.add.todos.column.description.label;" flex="30" ignoreincolumnpicker="true" persist="width ordinal"  onclick="sortcolumn(this);"  class="sortDirectionIndicator"  sortDirection="natural"/>
  253.                             <splitter class="tree-splitter" />
  254.                             <treecol id="todoTimeColLabel" hidden="true" label="&rf.add.reminders.column.time.label;" flex="0" persist="hidden width ordinal"  onclick="sortcolumn(this);" class="sortDirectionIndicator"  sortDirection="natural"/>
  255.                             <splitter class="tree-splitter" />
  256.                             <treecol id="todoDateCompleted" hidden="true" label="&rf.add.reminders.column.datecompleted.label;" flex="0" persist="hidden width ordinal" onclick="sortcolumn(this);"  class="sortDirectionIndicator"  sortDirection="natural"/>
  257.                             <splitter class="tree-splitter" />
  258.                             <treecol id="todoCompleteColLabel" hidden="false" label="&rf.add.reminders.column.complete.label;" tooltiptext="&rf.add.reminders.column.complete.label;" class="treecol-image"   src="chrome://global/skin/checkbox/cbox-check.gif"  flex="0" persist="hidden width ordinal" cycler="true" align="center"  onclick="sortcolumn(this);"   sortDirection="natural"/>
  259.                             <splitter class="tree-splitter" />
  260.                             <treecol id="todoShowInTooltip"  hidden="true" label="&rf.add.todos.column.showTooltip.label;" tooltiptext="&rf.add.todos.column.showTooltip.label;"  class="treecol-image" flex="0" src="chrome://reminderfox/skin/images/tooltip.png" persist="hidden width ordinal" cycler="true" align="center" onclick="sortcolumn(this);"    sortDirection="natural"/>
  261.                             <splitter class="tree-splitter" />
  262.                             <treecol id="todoNotesColLabel" hidden="true" class="treecol-image" tooltiptext="&rf.add.reminders.column.notes.label;" label="&rf.add.reminders.column.notes.label;" src="chrome://reminderfox/skin/images/notes.png"  flex="0" persist="hidden width ordinal" cycler="true" align="center" onclick="sortcolumn(this);"   sortDirection="natural"/>                            
  263.                             <splitter class="tree-splitter" />
  264.                             <treecol id="todoAlarmColLabel" hidden="true" label="&rf.add.reminders.column.alarm.label;"  tooltiptext="&rf.add.reminders.column.alarm.label;" src="chrome://reminderfox/skin/images/alarmbell.png" class="treecol-image"  flex="0" persist="hidden width ordinal"  cycler="true" align="center" onclick="sortcolumn(this);"   sortDirection="natural"/>
  265.                             <splitter class="tree-splitter" />
  266.                             <treecol id="todocatColLabel" hidden="true" label="&rf.options.categories.label;"  tooltiptext="&rf.options.categories.label;"   flex="0" persist="hidden width ordinal"   onclick="sortcolumn(this);" sortDirection="natural"  />
  267.                             <splitter class="tree-splitter" />
  268.                             <treecol id="todoEndDateColLabel" hidden="true" label="&rf.moreoptions.list.reminder.more.endDate.label;"  tooltiptext="&rf.moreoptions.list.reminder.more.endDate.label;"   flex="0" persist="hidden width ordinal"   onclick="sortcolumn(this);" class="sortDirectionIndicator"  sortDirection="natural"  />
  269.                             <splitter class="tree-splitter" />
  270.                             <treecol id="todoMailColLabel" hidden="true" label="&rf.add.reminders.column.mail.label;" tooltiptext="&rf.add.reminders.column.mail.label;" class="treecol-image" src="chrome://reminderfox/skin/images/mail.png"  flex="0" persist="hidden width ordinal" cycler="true" align="center"  onclick="sortcolumn(this);" sortDirection="natural"/>
  271.                         </treecols>
  272.                         <treechildren id="todoTreechildren"  onclick=" reminderFox_toggleTodoColumns(event);" ondblclick="if (event.button == 0) editTodo()" tooltip="todoTree-tooltip">
  273.                         </treechildren>
  274.                     </tree>
  275.  
  276.                     <!-- dynamically insert calendar here -->
  277.  
  278.                     <popup id="todo-treechildren-contextmenu" >
  279.                         <menuitem id="treechildren-contextmenu-edit2" label="&rf.add.todos.context.edit.label;" oncommand="editTodo()" />
  280.                         <menuitem id="treechildren-contextmenu-copyTodo" label="&rf.add.todos.context.copy.label;" oncommand="copyTodo()"/>  
  281.                         <menuitem id="treechildren-contextmenu-delete2" label="&rf.add.todos.context.delete.label;" oncommand="userDeleteTodo()" />
  282.                         <menu id="treechildren-contextmenu-moveToList" label="&rf.add.reminders.context.moveToList.label;">
  283.                             <menupopup id="treechildren-contextmenu-moveToList-popup">
  284.                             </menupopup>
  285.                         </menu>
  286.                         <menuseparator/>
  287.                         <menuitem id="treechildren-contextmenu-important2" label="&rf.add.todos.context.important.label;" oncommand="toggleTodoImportantFlag()" type="checkbox" autocheck="false" />
  288.                         <menuitem id="treechildren-contextmenu-markAsComplete2" label="&rf.add.reminders.context.complete.label;" type="checkbox" autocheck="false"
  289.                             oncommand="toggleTodoMarkAsComplete()" />
  290.                         <menuitem id="treechildren-contextmenu-showInTooltip" label="&rf.add.todos.context.showInTooltip.label;" type="checkbox" autocheck="false"
  291.                             oncommand="toggleTodoShowInTooltip()" />
  292.                         <menuseparator/>
  293.                         <menuitem id="treechildren-contextmenu-moveUp" label="&rf.add.todos.context.moveTodoUp.label;" oncommand="moveTodoUp()"  key="key_moveTodoUp" />
  294.                         <menuitem id="treechildren-contextmenu-moveDown" label="&rf.add.todos.context.moveTodoDown.label;"    oncommand="moveTodoDown()" key="key_moveTodoDown"/>
  295.                         <menuseparator/>
  296.                         <menuitem id="treechildren-contextmenu-find2" label="&rf.add.reminders.context.find.label;"     oncommand="doFind()" key="key_find"/>
  297.                         <menuitem id="treechildren-contextmenu-hideCompleted2" label="&rf.add.reminders.context.hidecompleteditems.label;"  key="key_hideCompletedItems"     type="checkbox"  autocheck="false" oncommand="toggleHideCompletedItems()" />
  298.                         <menuitem id="treechildren-contextmenu-showHTML" label="&rf.add.reminders.context.viewHTML.label;"     oncommand="doShowToDosHTML()" />
  299.                         <menuitem id="treechildren-contextmenu-showMail2" label="&rf.add.reminders.context.viewMail.label;"     oncommand="reminderFox_doShowMailTodo();" key="key_viewMail"/>
  300.  
  301.                         <menuseparator/>
  302.                         <menuitem id="treechildren-contextmenu-sendTodos" 
  303.                                 label="&rf.add.reminders.context.exportSendTodos.label;" 
  304.                                 oncommand="rmFx_ExportOrSend(event)" />  
  305.  
  306.                         <menuitem id="treechildren-contextmenu-todo-openABcard" 
  307.                                 label="&rf.main.contextmenu.openAB;"    
  308.                                 oncommand="rmFxOpenABcard(event)" hidden="true"/>
  309.                     </popup>
  310.                 </hbox>
  311.  
  312.                 <hbox align="center" >
  313.                     <label id="reminderFox-network-status-todo" align="center"  class="small-margin" value=""/>
  314.                 </hbox>
  315.             
  316.                 <hbox id="todoButtonBox">    <!--  add 'id' for Quick-Search -->
  317.                     <!-- todo dialog-buttons -->
  318.                     <button id="addTodoButton" label="&rf.add.todosr.addbutton.label;" oncommand="addTodo()" />
  319.  
  320.                     <!--  2008-10-14   add 'View' - brought in from overlay -->
  321.                     <hbox id="todoView_Box">
  322.                         <hbox id="todoViewHbox"/>
  323.                     </hbox>                    
  324.  
  325.                     <!--    Quick-Search - brought in from overlay -->
  326.                     <hbox id="todoSearchTextBox"  class="rmQSearchBox"/>
  327.  
  328.  
  329.                     <hbox id="rmFilterHboxTodo"  class="rmQSearchBox">
  330.                         <hbox id="rmFilterTextTodo"/>
  331.                     </hbox>    
  332.                     
  333.                     <spring label="buttonspring.ii" flex="1" />
  334.                     <toolbarbutton id="todoCalendarToggle" type="checkbox"  persist="checked" checked="true" oncommand="toggleCalendar();" autoCheck="false"  />
  335.                     <button id="revertbuttonTodos" label="&rf.add.addReminder.revertbutton.label;" oncommand="revert();" disabled="true" />
  336.                     <button id="donebutton2" label="&rf.add.addReminder.donebutton.label;" oncommand="close();"  />
  337.                 </hbox>
  338.             </tabpanel>
  339.         </tabpanels>
  340.     </tabbox>
  341. </window>
  342.